<link rel="stylesheet" type="text/css" href="<?=gurl('css');?>/sites.css" />
<script language="javascript" src="<?=gurl('js');?>/user.js"></script>
<div class="login">
<? if($account):?>
<a href="/home/profile/<?=$account["account_id"];?>"><?=$account["account_username"];?></a><a href="<?=gurl('accounts/logout');?>">退出</a><a href="<?=gurl('about/contact');?>">建议</a>
<? else:?>
<a href="<?=gurl('accounts/');?>">登录</a><a href="<?=gurl('accounts/');?>">注册</a><a href="<?=gurl('about/contact');?>">建议</a>
<? endif;?>
</div>
<div class="blank8"></div>
<div class="w940">
  <div class="w660">
    <div class="hotTit">
      <h1 class="f16px left"><a id="top" name="top">&nbsp;</a><a href="<?=gurl('found');?>">发现轻站</a> &gt; <a href="<?=gurl('found/'.$currentclass['id']);?>"><?=$currentclass['name'];?></a><em class="cCGray">(<?=$currentscount;?>)</em> &gt; <?=$subclass['name'];?><em class="cCGray">(<?=$subscount;?>)</em></h1>
      <p class="backprev"><a href="<?=gurl('found');?>">返回索引</a></p>
    </div>
    <? if($sites):?>
    <ul class="listKK">
    <? foreach ($sites as $site):?>
      <li><span class="listImg"><img src="images/tran.gif" class="blank" /><a href="<?=c('site_url');?><?=$site['domain'];?>" ><img src="<?=gurl('data');?>/upload_pic/<?=$site['info']['logo'];?>" alt="<?=$site['name'];?>" onerror="this.src='<?=gurl('images');?>/testlogo1.gif';" width="60" height="60" /></a></span> <span class="listTxt"><a class="title" href="<?=c('site_url');?><?=$site['domain'];?>" ><?=$site['name'];?></a> <em class="intr"><?=$site['info']['description'];?></em> <em class="cCGray"><?=$site['funs'];?>人关注</em><em style="margin-left:6px" class="cCGray"><?=date('Y-m-d',$site['regtime']);?>创建</em> </span> </li>
	<? endforeach;?>
    </ul>
     <div class="blank8"></div>
    <div class="allmark">
      <div class="right"><a href="#top" class="goTop cCGray">返回顶部</a></div>
    </div>
    <div class="blank8"></div>
    <div class="page">
    	<?=$pagestring;?>
    </div>
    <? endif;?>
    <div class="hackbox"></div>
  </div>
  <div class="sider">
    <div class="searchBox">
		<input name="keyword2" id="keyword2" type="text" class="hotwebSearch" dataType="Require" msg="请输入关键字" />
		<p class="hotSkey"><input name="" type="button" value="搜索轻站" onclick="gosearch('site');" /><input name="" type="button" value="搜索话题" onclick="gosearch('topic');" /></p>  
	</div> 
    <div class="blank8"></div>
    <ul class="listTaxis">
      <li><a href="<?=gurl('found/'.$currentclass['id'].'/'.$subclass['id'].'/2');?>">按关注人数排序</a></li>
      <li><a href="<?=gurl('found/'.$currentclass['id'].'/'.$subclass['id']);?>">按创建时间排序</a></li>
    </ul>
  </div>
  <div class="hackbox"></div>
</div>